home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / DELPHI / CC32.ZIP / OL.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1995-12-24  |  932 b   |  41 lines

  1. unit Ol;
  2.  
  3. { The form accompanying this unit (OL.DFM)  was used to generate
  4.   sample component definition OUTLINE.CD, a panel component
  5.   containing an outline and buttons to expand and shrink
  6.   the outline.
  7.  
  8.   Component Create read the panel and generated the complete
  9.   component definition from it.  Functionality was added to the
  10.   Expand and Shrink buttons in methods that Component Create
  11.   provided as empty begin...end blocks. }
  12.  
  13. interface
  14.  
  15. uses
  16.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  17.   Forms, Dialogs, Buttons, StdCtrls, Grids, Outline, ExtCtrls;
  18.  
  19. type
  20.   TForm2 = class(TForm)
  21.     Panel1: TPanel;
  22.     Outline1: TOutline;
  23.     ShrinkBtn: TButton;
  24.     ExpandBtn: TButton;
  25.     CancelBtn: TBitBtn;
  26.     OKBtn: TBitBtn;
  27.   private
  28.     { Private declarations }
  29.   public
  30.     { Public declarations }
  31.   end;
  32.  
  33. var
  34.   Form2: TForm2;
  35.  
  36. implementation
  37.  
  38. {$R *.DFM}
  39.  
  40. end.
  41.